package com.geekhalo.admin.domain.app.disable;

import com.geekhalo.admin.domain.app.disable.DisableWebApplicationCommand; 
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class DisableWebApplicationContext{
    private DisableWebApplicationCommand command;

    private DisableWebApplicationContext(DisableWebApplicationCommand command){
         this.command = command;
    }

    public static DisableWebApplicationContext apply(DisableWebApplicationCommand command) {
        DisableWebApplicationContext context = new DisableWebApplicationContext(command);
        return context;
    }
}
